import { type IColumnConfig } from '@/components/table'
export * from './type'

export const columnConfig: IColumnConfig[] = [
  {
    prop: 'name',
    label: '菜单名称'
  },
  {
    prop: 'sortOrder',
    label: '排序'
  },
  {
    prop: 'icon',
    label: '图标',
    slot: 'icon'
  },
  {
    prop: 'path',
    label: '路由'
  },
  {
    prop: 'menuType',
    label: '类型',
    slot: 'menuType'
  },
  {
    prop: 'isHide',
    label: '显示',
    slot: 'isHide'
  },
  {
    prop: 'isKeepAlive',
    label: '缓存',
    slot: 'isKeepAlive',
    width: 180
  },
  {
    prop: 'permission',
    label: '权限标识'
  }
]
